package com.yangj.web;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import com.yangj.dao.AccompanyingPlayDao;
import com.yangj.model.AccompanyingPlay;
import com.yangj.model.BannerImgItem;
import net.sf.json.JSONArray;
public class GetAccompanyingPlays  extends JsonServlet {
    private AccompanyingPlayDao accompanyingPlayDao = new AccompanyingPlayDao();
	@Override
	public String dealInput(Map<String, String[]> input) {

		List<AccompanyingPlay> servicePlayWiths=accompanyingPlayDao.getAll();
		return JSONArray.fromObject(servicePlayWiths).toString();
	}
}
